home *** CD-ROM | disk | FTP | other *** search
/ STraTOS 1997 April & May / STraTOS 1 - 1997 April & May.iso / CD01 / INTERNET / SITES / RAND / UNSPLIT / text0779.txt < prev    next >
Encoding:
Text File  |  1997-02-06  |  2.3 KB  |  51 lines

  1. > yes, I know what AI is.. I would like to know what the algorithms are
  2. > that are used for the AI of the baddies!
  3.  
  4. The 'AI' is extremely simple in Wolf3D.
  5. It's mostly a matter of checking if the player is within sight and then
  6. moving towards him (N, NE, E, SE,...). The movement is a lot easier to do
  7. in Wolf then in DOOM, since everything is rectangular.
  8.  
  9. Everything is handled by dividing the map into small squares where only one
  10. thing (in most cases) can be in each. If an enemy is blocked from its
  11. preffered path, it will choose another. Sometimes the enemies dodge rather
  12. than advance the shortest way.
  13.  
  14. Shooting is handled by lowering the probability of a hit according to the
  15. distance and you're harder to hit when you run.
  16. Hitpoints (and possibly accuracy) are different depending on the skill level.
  17. As for movement, the regular structure makes line of sight checks a lot
  18. easier.
  19.  
  20. As far as I could see, all enemies use the same algorithms in Wolf3D.
  21.  
  22. > > I think we could use the code
  23. > > from Wolfenstein to have something to start with. I guess it's not
  24. > > very different from Doom and it could atleast be a start.
  25.  
  26. The easy things are perhaps not much different, but those could be thrown
  27. together rather quickly from scratch as well. The difficult things are
  28. simply not there in Wolf3D.
  29.  
  30. I also wonder whether it would be OK to use the routines in Wolf3D.
  31. 'Educational use' is allowed for portions of the code, but I don't think
  32. it's very clear exactly what this means. Most of the text talks about how
  33. you may not use portions of the source for commercial gain (except under
  34. 'Educational use'...).
  35. They also say that they retain all copyrights, which is not something that
  36. would go very well with BAD MOOD, IMO.
  37.  
  38. > > But the list seems to be more or less dead right now, so I will bring up
  39. > > the subject later when more people is active.
  40.  
  41. Is it really possible that everybody is still on vacation?
  42. The list currently counts 56 members (we've been in the 50-60 range for a
  43. _long_ time now).
  44.  
  45. -- 
  46.   Chalmers University   | Why are these |  e-mail:   rand@cd.chalmers.se
  47.      of Technology      |  .signatures  |            johan@rand.thn.htu.se
  48.                         | so hard to do |  WWW/ftp:  rand.thn.htu.se
  49.    Gothenburg, Sweden   |     well?     |            (MGIFv5, QLem, BAD MOOD)
  50.  
  51.